.post-editor,
.mce-inline-toolbar-grp {

	.mce-toolbar .mce-btn-group .mce-btn.mce-insert-menu {
		height: 36px;
		margin: 0;

		&.mce-active {
			border-color: transparent;
		}

		&:hover .wpcom-insert-menu__menu-label,
		&:focus .wpcom-insert-menu__menu-label {
			color: var( --color-neutral-70 );
		}
	}
}

.post-editor .mce-toolbar .mce-btn.mce-insert-menu .gridicon,
.wpcom-insert-menu__menu-icon.gridicon {
	height: 24px;
	width: 24px;
}

.mce-toolbar .mce-btn.mce-insert-menu button:first-child {
	padding: 6px 11px 6px 9px;
}

.mce-splitbtn.mce-insert-menu .mce-open.mce-active {
	background-color: var( --color-surface );
	outline: 0;
}

.mce-btn.mce-insert-menu span {
	padding-left: 0;
}

.mce-toolbar .mce-btn.mce-insert-menu .mce-open {
	padding: 8px 12px;
}

.mce-container .wpcom-insert-menu__menu-label {
	color: var( --color-neutral-50 );
	display: inline-block;
	font-family: $sans;
	font-size: $font-body-small;
	margin-left: 4px;
	margin-top: 3px;
}

.wpcom-insert-menu__menu-icon {
	fill: var( --color-neutral-50 );
}

.mce-container.mce-menu .mce-container-body .mce-wpcom-insert-menu__menu-item {
	padding: 9px 16px;
	margin: 0;
	border: none;

	&:hover,
	&:focus {

		.wpcom-insert-menu__menu-label {
			color: var( --color-accent );
		}

		.wpcom-insert-menu__menu-icon {
			fill: var( --color-accent );
		}
	}
}

.mce-container .mce-wpcom-insert-menu .wpcom-insert-menu__menu-label {
	@include breakpoint-deprecated( '<660px' ) {
		display: none;
	}
}
